<?php
$this->pageTitle=Yii::app()->name . ' - 订单列表';
?>
<div id="partner">
	<div class="dashboard" id="dashboard">
		<ul>
		<li class="current"><a href="<?php echo $this->createUrl('index'); ?>">订单列表</a><span></span></li>
		<li><a href="<?php echo $this->createUrl('admin'); ?>">订单管理</a><span></span></li>
		</ul>
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>订单列表</h2></div>
                <div class="sect">

					<!--{/if}-->
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
						<tr><th width="100">ID</th><th width="150" nowrap>项目名称</th><th width="150" nowrap>总价</th><th width="150" nowrap>订单状态</th><th width="150" nowrap>数量</th></tr>
					<!--{loop $coupons $index $one}-->
						<?php $this->widget('zii.widgets.CListView', array(
							'dataProvider'=>$dataProvider,
							'itemView'=>'_view',
							'pager'=>array('prevPageLabel'=>'上一页','nextPageLabel'=>'下一页','header'=>' ',),
							'summaryText'=>''
						)); ?>
					<!--{/loop}-->

                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>
</div>